html{
    font-size: 62.5%;
}
body{
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    background-color: #ffffff;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: white;
}

.foster_container{
    width: 100%;
}
.foster_body{
    width: 70%;
    min-height: 800px;
    margin: auto;
    /*border: 1px solid #ddd;*/
    background: #f2f2f2;
    padding-bottom: 90px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.foster_nav{
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 2.4rem;
    background-color: #303030;
    color: #f3f3f3;
    margin-top: 30px;
}
.foster_top{
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    width: 80%;
    margin: auto;
}
.foster_cent{
    width: 900px;
    margin: 0 auto;
    overflow: hidden;
}
.foster_u {
    width: 900px;
    margin: 50px 0 0 60px;
}
.foster_list,.foster_select {
    margin-top: 10px;
    overflow: hidden;
    box-sizing: border-box;
}
.foster_list span{
    font: 16px/38px "Microsoft YaHei";
    color: #666;
    width: 160px;
    float: left;
    text-align: right;
}
#province{
    width: 260px;
    height: 50px;
    float: left;
    padding: 5px 0;
    font: 14px/28px "Microsoft YaHei";
    border: none;
    outline: none;
    color: #666;
    box-sizing: border-box;
}
#province select{
    width: 70px;
    margin-left: 10px;
    box-sizing: border-box;
}
.foster_list input,select{
    width: 500px;
    float: left;
    height: 40px;
    padding: 5px 0;
    font: 14px/28px "Microsoft YaHei";
    outline: none;
    border: solid 1px #dfdfdf;
    color: #666;
    /*border-radius: 5px;*/
}
.foster_list textarea{
    width: 500px;
    padding: 5px 0;
    color: #666;
    font: 14px/28px "Microsoft YaHei";
    float: left;
    border: solid 1px #dfdfdf;
    outline: none;
    padding-left: 10px;
    /*border-radius: 5px;*/
}
.foster_picture{
    width: 64px;
    height: 64px;
    background: url("../images/add2.png") no-repeat center;
    float: left;
}
.foster_picture input{
    width: 64px;
    height: 64px;
    opacity: 0;
}
.Picture_preview{
    width: 260px;
    height: 150px;
    float: left;
    border: none;
}
.Picture_preview img{
    width: auto;
    height: 150px;
}


.foster_select span {
    float: left;
    font: 16px/38px "Microsoft YaHei";
    color: #666;
    width: 150px;
    text-align: right;
}
.foster_select input[type="text"]{
    width: 200px;
    height: 40px;
    padding-left: 10px;
    border: solid 1px #dfdfdf;
    outline: none;
}
/*身份验证*/
.card_pictures{
    margin-top: 60px;
    margin-left: 60px;
    padding: 20px;
    overflow-x: hidden;
}
.card_font{
    padding: 10px;
    color: grey;
}
.card_picture1{
    width: 130px;
    height: 130px;
    margin-top: 30px;
    margin-left: 50px;
    background: url("../images/upload_card.png") no-repeat;
    float: left;
    /*border: solid 1px grey;*/
}

.card_picture1 input{
    opacity: 0;
    width: 100px;
    height: 100px;
}


.btn_foster{
    width: 200px;
    height: 50px;
    border-radius: 5px;
    background-color: #f0ad4e;
    color: white;
    font-size: 1.4rem;
    outline: none;
    border: none;
}


@media screen and (max-width:970px ){
    .foster_cent{
        width: 600px;
        margin: 0 auto;
        overflow: hidden;
    }
    .foster_u {
        width: 600px;
        margin: 20px 0 0 30px;
    }
    .foster_list span {
        float: left;
        /*font: 8px/19px "Microsoft YaHei";*/
        color: #666;
        width: 120px;
        text-align: right;
    }
    .foster_list input,select{
        width: 300px;
    }
    .foster_list textarea{
        width: 300px;
    }
    .picture{
        width: 64px;
        height: 64px;
        background-image: url("../images/add2.png");
    }
    .picture input{
        width: 64px;
        height: 64px;
        opacity: 0;
    }
    .foster_select span {
        float: left;
        font: 16px/38px "Microsoft YaHei";
        color: #666;
        width: 120px;
        text-align: right;
    }
    .foster_select input[type="text"]{
        width: 170px;
        height: 40px;
        border-radius: 5px;
        border: none;
        outline: none;
    }
    .btn_foster{
        width: 150px;
    }
}
@media screen and (max-width:600px ){
    .foster_top{
        width: 100%;
    }
    .foster_cent{
        width: 300px;
        margin: 0;
        overflow: hidden;
    }
    .foster_u {
        width: 300px;
        margin:0;
    }
    .foster_list span {
        font: 14px/38px "Microsoft YaHei";
        width: 100px;
    }

    .foster_list input,select{
        width: 200px;
        height: 28px;
        font: 12px/28px "Microsoft YaHei";
    }
    .foster_list textarea{
        width: 200px;
        padding: 5px 0;
        color: #666;
        font: 12px/28px "Microsoft YaHei";
        float: left;
        border: none;
        border-bottom: solid 1px grey;
    }
    .picture{
        width: 64px;
        height: 64px;
    }
    .picture input{
        width: 64px;
        height: 64px;
        opacity: 0;
    }
    .foster_select span {
        float: left;
        font: 16px/38px "Microsoft YaHei";
        color: #666;
        width: 100px;
        text-align: right;
    }
    .foster_select input[type="text"]{
        width: 150px;
        height: 40px;
        border-radius: 5px;
        border: none;
        outline: none;
    }
    #province{
        width: 150px;
    }
    #province select{
        width: 50px;
    }

}










